package com.wsoft.portal.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wsoft.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 主题
 * </p>
 *
 * @author Z001
 * @since 2024年12月27日 10:01:05
 */
@Getter
@Setter
@TableName("portal_theme")
@Schema(name = "PortalThemeEntity", description = "主题")
public class PortalThemeEntity extends BaseEntity {

    @Schema(description = "主题编码")
    @TableField("code")
    private String code;

    @Schema(description = "主题名称")
    @TableField("name")
    private String name;

    @Schema(description = "排序")
    @TableField("sort")
    private Integer sort;

    @Schema(description = "是否默认")
    @TableField("is_default")
    private Integer isDefault;

    @Schema(description = "是否启用")
    @TableField("is_enable")
    private Integer isEnable;

    @Schema(description = "描述")
    @TableField("description")
    private String description;
}
